package com.example.wxy2.service;

import com.example.wxy2.entity.*;
import com.github.pagehelper.PageInfo;
import sun.util.resources.LocaleData;

import java.time.LocalDate;
import java.util.LinkedList;
import java.util.List;

public interface TestService {

    PageInfo<data> find(Integer pageNum, Integer pageSize, String username, LocalDate time1, LocalDate time2, String state);

    login login(String username, String password);

//    List<data> findAll();

    void updatestate(LinkedList<state_entity> list);

    void updateRules(rules rules);

    List<rules> getRules();

    boolean checkadmin(String admin);

    void adduser(login login);

    List<login>  findUser();

    void deleteUser(login login);
}
